// import axios from 'axios';
// import {PATH} from './PATH';
import request from './request';

export default function (data) {
    return request({
        method: 'post',
        url: `/upload`,
        headers: {
            'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8',
            'X-Requested-With': 'XMLHttpRequest'
        },
        data
    })
}